package org.jeecg.modules.basic.warehouseGroup.vo;

import java.util.List;
import org.jeecg.modules.basic.warehouseGroup.entity.WmsBasicWarehouseGroup;
import org.jeecg.modules.basic.warehouseGroup.entity.WmsBasicWarehouseGroupUser;
import org.jeecg.modules.basic.warehouseGroup.entity.WmsBasicWarehouseGroupWarehouse;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 仓库组
 * @Author: jeecg-boot
 * @Date:   2023-08-02
 * @Version: V1.0
 */
@Data
@ApiModel(value="wms_basic_warehouse_groupPage对象", description="仓库组")
public class WmsBasicWarehouseGroupPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**名称*/
	@Excel(name = "名称", width = 15)
	@ApiModelProperty(value = "名称")
    private String name;
	/**编码*/
	@Excel(name = "编码", width = 15)
	@ApiModelProperty(value = "编码")
    private String code;
	/**描述*/
	@Excel(name = "描述", width = 15)
	@ApiModelProperty(value = "描述")
    private String description;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
	@ApiModelProperty(value = "租户id")
    private Integer tenantId;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
	@ApiModelProperty(value = "逻辑删除")
    private Integer delFlag;
	/**
	 * 是否使用
	 */
	@Dict(dicCode = "yn")
	@ApiModelProperty(value = "是否使用")
	private Integer used;

	@ExcelCollection(name="仓库组-仓管员")
	@ApiModelProperty(value = "仓库组-仓管员")
	private List<WmsBasicWarehouseGroupUser> wmsBasicWarehouseGroupUserList;
	@ExcelCollection(name="仓库组-仓库")
	@ApiModelProperty(value = "仓库组-仓库")
	private List<WmsBasicWarehouseGroupWarehouse> wmsBasicWarehouseGroupWarehouseList;

}
